
//
//  UIColor+extension.m
//  kuangjia
//
//  Created by 张帅 on 15/10/14.
//  Copyright © 2015年 ZhangShuai. All rights reserved.
//

#import "UIColor+extension.h"

@implementation UIColor (extension)


+(UIColor *)randomColor{

    CGFloat r =  random()%256*1.0 / 256;
    
    CGFloat g =  random()%256*1.0 / 256;
    
    CGFloat b =  random()%256*1.0 / 256;
    
    return [UIColor  colorWithRed:r green:g blue:b alpha:1.0];
    

}


@end
